/**
 * MCIsSharedFile.java
 */
package commands.model;
import dataTypes.*;


/**
 * Request to return a response if a file is on the list of shared files.
 * @author Michal Kolodziejski
 */
public class MCIsSharedFile extends ModelCommand {
	/** A file to be checked. */
	private File file;
	private int id;
	
	/**
	 * Constructor
	 * @param file a file to be checked
	 */
	public MCIsSharedFile(File file, int id){
		super(ModelCommandType.IS_SHARED_FILE);
		this.file = file;
		this.id = id;
	}

	/**
	 * @return the file to be checked
	 */
	public File getFile() {
		return file;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	
}
